package pattern18.game;

/**
 * @author wdl
 */
public class PlayGame {
    public static void main(String[] args) {
        BaseHandsetBrand ab;
        ab=new HandsetBrandN();
        ab.setHandsetSoft(new HandsetGame());
        ab.run();

        ab.setHandsetSoft(new HandsetAddressList());
        ab.run();

        ab=new HandsetBrandM();
        ab.setHandsetSoft(new HandsetGame());
        ab.run();
        ab.setHandsetSoft(new HandsetAddressList());
        ab.run();

    }
}
